package com.waitingresult;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import springfox.documentation.oas.annotations.EnableOpenApi;

@SpringBootApplication
@EnableOpenApi
@EnableCaching
@EnableFeignClients
public class CloudWeb3jApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(CloudWeb3jApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  Cloud-Web3j启动成功   ლ(´ڡ`ლ)ﾞ");
        String property = run.getEnvironment().getProperty("spring.datasource.password");
        System.err.println("nacos 中取出来的数据: property:"+property);
    }
}
